Read about html entity used to display copyright, The latest news, videos, and discussion topics about html entity used to display copyright from alibabacloud.com
Symbols such as "In order to display the less-than sign (Character entitySome characters have special meanings in HTML, such as the less than sign (The character entity has three parts: a number (&), an entity name, or # and an entity number, and a
More comprehensive HTML entity escape character article: http://www.cnblogs.com/kiter/archive/2011/08/05/2128309.html
the composition of the escape string
The Escape string (Escape Sequence), that is, the character entity (Character Entity) is
HTML EntitiesIn HTML, some characters are reserved.The less than sign () cannot be used in HTML because the browser mistakenly considers them to be labels.If you want to display reserved characters correctly, we must use the character entity
The character entity (CharacterEntities), an EscapeSequence (EscapeSequence), that is, the character entity (CharacterEntity) is divided into three parts: the first part is a & amp; ampersand. The second part is the Entity name or #
Composition of
Some characters, like (Entity charactersThere are some characters that are special to HTML, like less than symbols ( tags. If we want to display such characters in the browser, we must insert the entity characters in the HTML code.An entity
The composition of the escaped stringThe Escape string (Escape Sequence), the character entity (Character entity), is divided into three parts: the first part is a & symbol, English is called Ampersand; the second part is the entity name or the #
In HTML, some characters are reservedThe less than sign () cannot be used in HTML because the browser mistakenly considers them to be labelsIf you want to display reserved characters correctly, we must use the character entity (character entities)
See w3school/html1. HTML element syntax
The HTML element usesStart tagStart
The HTML element usesEnd tagTermination
Element ContentIs the content between the start tag and the end tag.
Some HTML elements haveEmpty content)
Empty ElementClose
HTML is a Hypertext Markup Language (Hyper text Mark Language), which means that HTML is not a programming language, only a markup language (Markup Language).Web Basic information:1. DOCTYPE statementIn the HTML code, there are two lines on the
Why to use an escape string.
,& in HTML has a special meaning ( for the link-sign,& for escape) and cannot be used directly. These symbols are not displayed in the pages we eventually see, so what if we want to display them in the Web page?
This
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.